import request from '@/utils/request'

// 账单列表的接口
export function getInvoices(params) {
  return request({
    url: `/online/flycare/admin/bill`,
    method: 'GET',
    params: params
  })
}

// 账单详情的接口
export function getInvoiceDetail(billId) {
  return request({
    url: `/online/flycare/admin/bill/${billId}`,
    method: 'GET'
  })
}
